<extend name="public@emptypage" />
<block name="content">
<div class="card">
	<div class="card-header card-header-primary">

    		<ul class="nav nav-tabs" data-tabs="tabs">
			<li class="nav-item">
				<a class="nav-link active" href="{:url('storage/index')}">{:lang('ADMIN_STORAGE_INDEX')}</a>
			</li>
		</ul>
	</div>
	<div class="row">
		<div class="col-md-12">
			<div class="card-body">
			
			    <form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('storage/settingPost')}">
			
			        <div class="form-group">
			            <label for="input-type" class="col-sm-2 control-label">存储类型</label>
			            <div class="col-md-6 col-sm-10">
			                <select class="form-control" name="type" id="input-type">
			                    <foreach name="storages" item="vo">
			                        <php>$type_selected=isset($type)&&$type==$key?"selected":"";</php>
			                        <option value="{$key}" {$type_selected}>{$vo.name}</option>
			                    </foreach>
			                </select>
			            </div>
			        </div>
			        <div class="form-group">
			            <div class="col-sm-offset-2 col-sm-10">
			                <button type="submit" class="btn btn-primary js-ajax-submit" data-refresh="0">{:lang('SAVE')}</button>
			            </div>
			        </div>
			    </form>

			</div>
		</div>
	</div>
</block>
<block name="script">

<script src="__STATIC__/js/admin.js"></script>

</block>